package com.dingyh.shopwebbackground.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Tolerate;

/**
 * <p>
 * 
 * </p>
 *
 * @author dingyuhan
 * @since 2023-02-27
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
public class ShopCar implements Serializable {

    @Tolerate
    public ShopCar() {
    }

    private static final long serialVersionUID=1L;

    private String id;

    private String userId;

    private String goodsId;

    private String commodityId;

    private Long timeAdd;

    private BigDecimal qty;

    @TableField(exist = false)
    private String title;

    @TableField(exist = false)
    private String img;

    @TableField(exist = false)
    private BigDecimal stock;

    @TableField(exist = false)
    private String companyname;

    @TableField(exist = false)
    private BigDecimal price;

    @TableField(exist = false)
    private BigDecimal amount;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private String goodsname;

    @TableField(exist = false)
    private String useraddress;

}
